﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="wfrmEscritoListar.aspx.cs" Inherits="PresentationLayer.WebForm6" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="rpListarEscritos" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
        CssPostfix="BlackGlass" GroupBoxCaptionOffsetY="-22px"
        SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
        Width="100%" HeaderText="Actualizacion Escritos">
        <ContentPaddings PaddingBottom="5px" PaddingLeft="2px" PaddingTop="5px" />
        <HeaderStyle Height="23px">
            <Paddings PaddingBottom="0px" PaddingLeft="3px" PaddingTop="0px" />
        </HeaderStyle>
        <PanelCollection>
            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                <table style="width: 100%;">
                    <tr>
                        <td>
                            <dx:ASPxButton ID="btnEscritos" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Text="Agregar Escritos" OnClick="btnEscritos_Click">
                            </dx:ASPxButton>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3">
                            <dx:ASPxGridView ID="dgLegajo" runat="server" AutoGenerateColumns="False" 
                                Width="100%" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass"
                                KeyFieldName="CO_legajo"
                                OnAfterPerformCallback="dgLegajo_AfterPerformCallback"
                                OnHeaderFilterFillItems="dgLegajo_HeaderFilterFillItems" 
                                OnPageIndexChanged="dgLegajo_PageIndexChanged">
                                <Columns>
                                    <dx:gridviewdatatextcolumn caption="N° Legajo Judicial" fieldname="CO_legajo" showincustomizationform="True" visibleindex="0"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatadatecolumn caption="Fecha de Legajo" fieldname="FE_ingreso" showincustomizationform="True"
                                        unboundtype="DateTime" visibleindex="1" width="100px">
                                            <PropertiesDateEdit DisplayFormatString="dd/MM/yyyy"></PropertiesDateEdit>
                                    </dx:gridviewdatadatecolumn>
                                    <dx:gridviewdatatextcolumn caption="Tipo de Proceso" fieldname="VR_proceso" showincustomizationform="True" visibleindex="2"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Entidad" fieldname="VR_tipodemandante" showincustomizationform="True" visibleindex="3"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Demandante" fieldname="TX_agraviado" showincustomizationform="True" visibleindex="4"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Estado" fieldname="VR_estado" showincustomizationform="True" visibleindex="5"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Monto Petitorio" fieldname="QT_petirorio" showincustomizationform="True" visibleindex="6"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Monto Autorizado" fieldname="QT_montoautorizado" showincustomizationform="True" visibleindex="7"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="Tipo de Documento" fieldname="NO_tipo_Documento" showincustomizationform="True" visibleindex="8"></dx:gridviewdatatextcolumn>
                                    <dx:gridviewdatatextcolumn caption="N° de Documento" fieldname="NU_documento" showincustomizationform="True" visibleindex="9"></dx:gridviewdatatextcolumn>
                                </Columns>
                                <SettingsBehavior AllowFocusedRow="True" />
                                <Settings ShowFilterRow="True" ShowGroupPanel="True" />
                                <SettingsBehavior AllowFocusedRow="True"></SettingsBehavior>
                                <Settings ShowFilterRow="True"></Settings>
                                <Images SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/BlackGlass/GridView/gvLoadingOnStatusBar.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/BlackGlass/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass">
                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                    </Header>
                                </Styles>
                                <StylesEditors>
                                    <CalendarHeader Spacing="1px">
                                    </CalendarHeader>
                                    <ProgressBar Height="25px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx:ASPxGridView>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <dx:ASPxPopupControl ID="pcMensaje" runat="server" ClientInstanceName="pcMensaje"
                                CloseAction="None" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass"
                                HeaderText="Mensaje" Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                                ShowCloseButton="False" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Width="365px">
                                <LoadingPanelImage Url="~/App_Themes/BlackGlass/Web/Loading.gif">
                                </LoadingPanelImage>
                                <ContentStyle HorizontalAlign="Left" VerticalAlign="Top">
                                </ContentStyle>
                                <HeaderStyle>
                                    <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" PaddingTop="3px" />
                                </HeaderStyle>
                                <ContentCollection>
                                    <dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
                                        <table style="width: 100%;">
                                            <tr>
                                                <td align="center" colspan="3">
                                                    <dx:ASPxLabel ID="lblMensaje" runat="server">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <dx:ASPxButton ID="btnAceptar" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                                        CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                                        Text="Aceptar">
                                                        <ClientSideEvents CheckedChanged="function(s, e) {
}" Click="function(s, e) {
		pcmensaje.Hide();
}" />
                                                    </dx:ASPxButton>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PopupControlContentControl>
                                </ContentCollection>
                            </dx:ASPxPopupControl>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
</asp:Content>
